﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Cat c = new Cat("小鱼干");
            c.output();
            c.IClimbTree();

            Console.WriteLine("-----------------------------------");

            Dog d = new Dog("骨头");
            d.output();
            d.swim();

            Console.WriteLine("-----------------------------------");

            Duck du = new Duck("虫子");
            du.output();
            du.swim();

            Console.WriteLine("-----------------------------------");
            Monkey m = new Monkey("香蕉");
            m.output();
            m.IClimbTree();
        }
    }
}
